Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev/gov qa round 1 #19

Merged
merged 5 commits into from
Nov 20, 2024
Merged

Dev/gov qa round 1 #19

merged 5 commits into from
Nov 20, 2024

Conversation

burnt-sun
Copy link

@burnt-sun burnt-sun commented Nov 20, 2024

QA Issues

  1. User vote value must show in overview component
  2. Disable vote buttons if user is logged out
  3. Handle Errors better. "Out of Gas"
  4. TX state feedback/refresh query on tx complete
  5. * Quorum not properly rendering progress

Remediation

User vote value must show in overview component

  • Completed
    Vote values queried from the vote API differed from vote_tally. This was remedied as well as a typo bug, a missing $ sign in the component renderer.

Disable vote buttons if user is logged out

  • Completed
    Check login state and render accordingly. Add text to inform user why voting is disabled (logout vs. voting period).

Handle Errors better. "Out of Gas"

  • Completed
    The "out of gas" error was an internal bug due to a hard value set in the staking logic which was used for governance. This has been updated to properly query for a successful transaction. If there is an error, it will render in the tx state modal.

Tx state feedback/refresh query on tx complete

  • Completed
    Related to the previous issue, modal state now awaits Tx verification with distinct codes for the transaction state: confirmation, pending, success, and error. The user must now click the modal when the tx is completed and will see that the vote value has been updated.

* Quorum not properly rendering progress

  • Completed
    The quorum component was not appropriately showing the progress of vote totals to achieve quorum. Added info to tooltip to better explain.

Copy link

cloudflare-workers-and-pages bot commented Nov 20, 2024

Deploying staking-mainnet with  Cloudflare Pages  Cloudflare Pages

Latest commit: 67f692f
Status: ✅  Deploy successful!
Preview URL: https://f9753a7b.staking-mainnet-8sr.pages.dev
Branch Preview URL: https://dev-gov-qa-round-1.staking-mainnet-8sr.pages.dev

View logs

Copy link

Deploying staking-testnet with  Cloudflare Pages  Cloudflare Pages

Latest commit: 67f692f
Status: ✅  Deploy successful!
Preview URL: https://b03c1c05.staking-testnet.pages.dev
Branch Preview URL: https://dev-gov-qa-round-1.staking-testnet.pages.dev

View logs

Copy link

@justinbarry justinbarry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@justinbarry justinbarry merged commit 7881684 into main Nov 20, 2024
3 checks passed
@justinbarry justinbarry deleted the dev/gov-qa-round-1 branch November 20, 2024 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants